/sys/class/flashlight_core/flashlight
echo 0 0 0 26 50 > flashlight_strobe
mlog setDuty -e flash_tuning -e FLASH_ALGO -e StrobeDrvFlashlight -e flash_custom
adb root;adb shell dmesg | tee camerakernel1.txt |  grep  -i -e FLASH_IOC_SET_ONOFF -e FLASH_IOC_SET_DUTY -e flashlights_aw364

   
for arg in $*                 #在$*中遍历参数，此时每个参数都是独立的，会遍历$#次
do
   image=${arg##*/}
   image=${image%%.*}
   print_info "${FASTBOOT} flash ${image} ${arg}"
   ${FASTBOOT} flash ${image} ${arg}
done
print_info "flashing all succeed"
${FASTBOOT} reboot

//关Logd
目前发现有2个问题：logd.writer 线程loading 太重，fpsgo 压频情况。建议先减少log打印，再来看fpsgo 压频的问题
请问是否是关闭logd 测试的？测试是否是使用user+root版本？

adb shell setprop persist.vendor.mtk.camera.log_level 0  
adb shell setprop vendor.debug.camera.log 0   
adb shell pkill camera*

   
09-20 10:43:06.716  1080  5872 I CameraService: CameraService::connect call (PID -1 "com.honor.aresrt", camera ID 0) and Camera API version 2
09-20 10:43:07.912  2119  2738 I HnThermal: ThermalDevPolicy: thermal Safe mode triggered
09-20 10:43:07.912  2119  2738 I HnThermal: ThermalDevPolicy: force stop:com.honor.aresrt, reason: thermal safe!
09-20 10:43:07.920  1224  1394 I ActivityManager: Force stopping com.honor.aresrt appid=1000 user=0: from pid 2119by app
09-20 10:43:07.929  1224  1394 I ActivityManager: Killing 8830:com.honor.aresrt/1000 (adj 0): stop com.honor.aresrt due to from pid 2119by app

 grep -r -e "connect call" -e "select size" -e "CameraService: disconnect" -e "ActivityManager: Force stopping" -e "ActivityManager: Killing" ./
   
09-22 14:27:13.819   775 21202 D MtkCam/StreamingPipe/P2ANode: [onDIPStreamBaseCB] P2S cam 1 MWFrame:#254 MWReq:#254, frame 255-255 :sensor(1) Frame 255 enque done in 14 ms, result = 1
09-22 14:27:13.856   775 21202 D MtkCam/StreamingPipe/P2ANode: [onDIPStreamBaseCB] P2S cam 1 MWFrame:#255 MWReq:#255, frame 256-256 :sensor(1) Frame 256 enque done in 11 ms, result = 1
09-22 14:27:13.969   775 21202 D MtkCam/StreamingPipe/P2ANode: [onDIPStreamBaseCB] P2S cam 1 MWFrame:#256 MWReq:#256, frame 257-257 :sensor(1) Frame 257 enque done in 11 ms, result = 1

Hi Sir
	从log看，贵司测试机开启了uart log，请关闭uart log，关闭方法请咨询贵司系统team
	ed androidboot.meta_log_disable=0 nokaslr mtk_printk_ctrl.disable_uart=0 androidboot.serialno=efe207ee7d48 androidboot.rpmb_fla [3783] 
   
mtk dump buffer 添加
adb shell setprop debug.cam.drawid 1
